if (priv->show_border && (!priv->show_tabs || !priv->children))
{
+ gtk_style_context_save (context);
+ gtk_style_context_add_class (context, GTK_STYLE_CLASS_FRAME);
+
gtk_render_background (context, cr,
x, y, width, height);
gtk_render_frame (context, cr,
x, y, width, height);
+ gtk_style_context_restore (context);
return;
}
"has-tab-gap", &has_tab_gap,
NULL);
+ if (priv->show_border)
+ gtk_style_context_add_class (context, GTK_STYLE_CLASS_FRAME);
+
gtk_render_background (context, cr,
x, y, width, height);
if (has_tab_gap)